﻿
MainWindow.xaml
[Expand code view to full page width]
Compare with other versions:<Window x:Class="QLSV.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Masv" Grid.Row="0"  Grid.Column="0" Margin="0,0,20,0" />
        <Label Content="Tensv" Grid.Row="1" Grid.Column="0" />
        <Label Content="Malop" Grid.Row="2" Grid.Column="0" />
        <Label Content="Diachi" Grid.Row="3" Grid.Column="0" />
        <TextBox Name="txtmasv" Grid.Row="0" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txttensv" Grid.Row="1" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txtmalop" Grid.Row="2" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txtdiachi" Grid.Row="3" Grid.Column="1" Margin="0,0,0,10"/>
        <Button Width="100" Content="OK" Grid.Row="4" Grid.Column="1"  Margin="0,0,0,0" Click="Button_Click_1"/>
        <Button Width="100" Content="Cancel" Grid.Row="4" Grid.Column="1" Margin="300,0,0,0" Click="Button_Click_2" />
    </Grid>
</Window>


